﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SurehealthForms
{
    public partial class PharmacistInit : Form
    {
        public PharmacistInit()
        {
            InitializeComponent();
        }


        /// <summary>
        /// Logs the user out
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {

        }

        /// <summary>
        /// initialises and changes to the Add prescriptions form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void AddPrescriptions_Click(object sender, EventArgs e)
        {
            this.Hide();
            PharmacistAddPrescip PharmInst = new PharmacistAddPrescip();
            PharmInst.ShowDialog();
            this.Show();
        }

        /// <summary>
        /// form for ordering new inventory.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OrderStock_Click(object sender, EventArgs e)
        {
            this.Hide();
            StockOrdering StockOrdering = new StockOrdering();
            StockOrdering.ShowDialog();
            this.Show();
        }

        private void PharmacistInit_Load(object sender, EventArgs e)
        {

        }

        private void UserMenuButton_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            Pharmacistfolder.ReturnStock ReturnStock = new Pharmacistfolder.ReturnStock();
            ReturnStock.ShowDialog();
            this.Show();
        }


    }
}
